﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200086D RID: 2157
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetTutorialGuideScRsp : IMessage<GetTutorialGuideScRsp>, IMessage, IEquatable<GetTutorialGuideScRsp>, IDeepCloneable<GetTutorialGuideScRsp>, IBufferMessage
	{
		// Token: 0x17001B33 RID: 6963
		// (get) Token: 0x06006071 RID: 24689 RVA: 0x00100C85 File Offset: 0x000FEE85
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetTutorialGuideScRsp> Parser
		{
			get
			{
				return GetTutorialGuideScRsp._parser;
			}
		}

		// Token: 0x17001B34 RID: 6964
		// (get) Token: 0x06006072 RID: 24690 RVA: 0x00100C8C File Offset: 0x000FEE8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetTutorialGuideScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001B35 RID: 6965
		// (get) Token: 0x06006073 RID: 24691 RVA: 0x00100C9E File Offset: 0x000FEE9E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetTutorialGuideScRsp.Descriptor;
			}
		}

		// Token: 0x06006074 RID: 24692 RVA: 0x00100CA5 File Offset: 0x000FEEA5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetTutorialGuideScRsp()
		{
		}

		// Token: 0x06006075 RID: 24693 RVA: 0x00100CB8 File Offset: 0x000FEEB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetTutorialGuideScRsp(GetTutorialGuideScRsp other) : this()
		{
			this.tutorialGuideList_ = other.tutorialGuideList_.Clone();
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006076 RID: 24694 RVA: 0x00100CEE File Offset: 0x000FEEEE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetTutorialGuideScRsp Clone()
		{
			return new GetTutorialGuideScRsp(this);
		}

		// Token: 0x17001B36 RID: 6966
		// (get) Token: 0x06006077 RID: 24695 RVA: 0x00100CF6 File Offset: 0x000FEEF6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<TutorialGuide> TutorialGuideList
		{
			get
			{
				return this.tutorialGuideList_;
			}
		}

		// Token: 0x17001B37 RID: 6967
		// (get) Token: 0x06006078 RID: 24696 RVA: 0x00100CFE File Offset: 0x000FEEFE
		// (set) Token: 0x06006079 RID: 24697 RVA: 0x00100D06 File Offset: 0x000FEF06
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600607A RID: 24698 RVA: 0x00100D0F File Offset: 0x000FEF0F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetTutorialGuideScRsp);
		}

		// Token: 0x0600607B RID: 24699 RVA: 0x00100D20 File Offset: 0x000FEF20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetTutorialGuideScRsp other)
		{
			return other != null && (other == this || (this.tutorialGuideList_.Equals(other.tutorialGuideList_) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600607C RID: 24700 RVA: 0x00100D70 File Offset: 0x000FEF70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.tutorialGuideList_.GetHashCode();
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600607D RID: 24701 RVA: 0x00100DBD File Offset: 0x000FEFBD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600607E RID: 24702 RVA: 0x00100DC5 File Offset: 0x000FEFC5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600607F RID: 24703 RVA: 0x00100DD0 File Offset: 0x000FEFD0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.tutorialGuideList_.WriteTo(ref output, GetTutorialGuideScRsp._repeated_tutorialGuideList_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006080 RID: 24704 RVA: 0x00100E20 File Offset: 0x000FF020
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.tutorialGuideList_.CalculateSize(GetTutorialGuideScRsp._repeated_tutorialGuideList_codec);
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006081 RID: 24705 RVA: 0x00100E74 File Offset: 0x000FF074
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetTutorialGuideScRsp other)
		{
			if (other == null)
			{
				return;
			}
			this.tutorialGuideList_.Add(other.tutorialGuideList_);
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06006082 RID: 24706 RVA: 0x00100EC1 File Offset: 0x000FF0C1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006083 RID: 24707 RVA: 0x00100ECC File Offset: 0x000FF0CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 10U)
				{
					if (num != 32U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.tutorialGuideList_.AddEntriesFrom(ref input, GetTutorialGuideScRsp._repeated_tutorialGuideList_codec);
				}
			}
		}

		// Token: 0x04002508 RID: 9480
		private static readonly MessageParser<GetTutorialGuideScRsp> _parser = new MessageParser<GetTutorialGuideScRsp>(() => new GetTutorialGuideScRsp());

		// Token: 0x04002509 RID: 9481
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400250A RID: 9482
		public const int TutorialGuideListFieldNumber = 1;

		// Token: 0x0400250B RID: 9483
		private static readonly FieldCodec<TutorialGuide> _repeated_tutorialGuideList_codec = FieldCodec.ForMessage<TutorialGuide>(10U, TutorialGuide.Parser);

		// Token: 0x0400250C RID: 9484
		private readonly RepeatedField<TutorialGuide> tutorialGuideList_ = new RepeatedField<TutorialGuide>();

		// Token: 0x0400250D RID: 9485
		public const int RetcodeFieldNumber = 4;

		// Token: 0x0400250E RID: 9486
		private uint retcode_;
	}
}
